package jmu.cze.mapper;

import jmu.cze.pojo.City;
import org.apache.ibatis.annotations.MapKey;
import org.springframework.stereotype.Repository;

import java.util.Map;
@Repository
public interface CityMapper {
    @MapKey("cityID")
    Map<String, City> selectAllCities();

    int deleteCityByID(String cityID);

    int insertCity(City city);

    int updateCity(City city);
}
